////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011-2012 www.iflytek.com. All Rights Reserved.
//  This software for customer relationship management system, developed by Iflytek_ZY team.
//  Software code and design for the team, copy rights reserved.
////////////////////////////////////////////////////////////////////////////////

package com.iflytek.ci.common.service;

import com.iflytek.ci.cpms.domain.Project;

/**
 * <p>
 * .      工具类
 * </p>
 *
 * @author xzyan
 * @version 1.0 2012-11-03 11:36 PM
 * @since JDK 1.5
 */
public interface ToolsService {

    /**
     * 创建tools_js  并发送邮件通知
     *
     * @param project    项目信息
     * @param basePath    根目录
     * @param realPath      文件真实路径
     * @param toolString    tools字符串
     */
     void create_new_tools_js(Project project,String basePath,String realPath,String toolString);

    /**
     * 删除项目时，同时删除tools_js
     *
     * @param project_key    项目缩写
     * @return      删除结果
     */
     boolean delete_tools_js(String [] project_key);
}
